package com.yeyks.common.appcommon.param.hotel;

import com.yeyks.common.appcommon.param.account.AccountParam;
import com.yeyks.common.appcommon.param.CompanyParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: gui
 * @date: 2019/5/28 0028 16:17
 */
@Data
@ApiModel(description = "添加酒店输入参数")
public class AddHotelParam implements Serializable {
    private static final long serialVersionUID = 4611725627784588828L;

    @ApiModelProperty("有效token")
    @NotBlank(message = "有效token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty("添加酒店的对象信息")
    private HotelParam hotelParam;

    @ApiModelProperty("添加公司的对象信息【包含营业执照】")
    private CompanyParam companyParam;

    @ApiModelProperty("添加账号的对象信息")
    private AccountParam accountParam;

    @ApiModelProperty("创建时间")
    private Date gmtCreate = new Date();
    @ApiModelProperty("更新时间")
    private Date gmtModified = new Date();

}
